﻿@model ScrumTracker.Models.Task
@{
    ViewBag.Title = "Task #" + Model.IssueId;
    Layout = "~/Views/Shared/_Layout5.cshtml";
}
@if (false)
{
    <script src="../../Scripts/jquery-1.5.1-vsdoc.js" type="text/javascript"></script>
}
@section head{
}
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" style="overflow: hidden;">
    <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
        <li class="ui-state-default ui-corner-top">
            <a href="@Url.Action("Get", "Tasks", new { @id = Model.IssueId })">Task Details</a></li>
        <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active">
            <a href="@Url.Action("Edit", "Tasks", new { @id = Model.IssueId })">Edit</a></li>
    </ul>
    <div class="ui-tabs-panel ui-widget-content ui-corner-bottom">
        @using (Html.BeginForm("Update", "Tasks", FormMethod.Post))
        { 
            @Html.EditorForModel()
            <input type="submit" class="button" value="Submit" />
        }
    </div>
</div>
